//
//  RNTLabelManager.m
//  RNCommunity
//
//  Created by 朱吉峥 on 2020/2/28.
//  Copyright © 2020 朱吉峥. All rights reserved.
//

#import "RNTLabelManager.h"
#import "RNTYYLabel.h"

@implementation RNTLabelManager

RCT_EXPORT_MODULE()

RCT_EXPORT_VIEW_PROPERTY(numberOfLines, NSUInteger)
RCT_EXPORT_VIEW_PROPERTY(preferredMaxLayoutWidth, CGFloat)
RCT_EXPORT_VIEW_PROPERTY(frameStr, NSString)
RCT_EXPORT_VIEW_PROPERTY(contentFontSize, CGFloat)
RCT_EXPORT_VIEW_PROPERTY(gifFontSize, CGFloat)
RCT_EXPORT_VIEW_PROPERTY(content, NSString)

- (UIView *)view
{
    RNTYYLabel *label = [RNTYYLabel new];
    return label;
}

@end
